package com.gc.dao.custom;

import com.gc.dao.generator.SysRoleMapper;
import com.gc.pojo.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper extends SysRoleMapper {

    String selectRoleKeyByUId(@Param("uid") Integer userId);


    List<SysRole> selectAll();

    SysRole selectByUserId(Integer userId);
}